<div class="layui-tab">
    <ul class="layui-tab-title">
        <?php if($type==1 || empty($type)){ ?>
            <li class="layui-this"><a href="<?=base_url("/activity/wangchun/index")?>">网春活动视频</a></li>
            <li><a href="<?=base_url("/activity/wangchun/host")?>">祝福语</a></li>
            <li><a href="<?=base_url("/activity/wangchun/select_person")?>">拜年对象</a></li>
        <?php }else if($type==2){ ?>
            <li><a href="<?=base_url("/activity/wangchun/index")?>">网春活动视频</a></li>
            <li class="layui-this"><a href="<?=base_url("/activity/wangchun/host")?>">祝福语</a></li>
            <li><a href="<?=base_url("/activity/wangchun/select_person")?>">拜年对象</a></li>
        <?php }else if($type==3){ ?>
            <li><a href="<?=base_url("/activity/wangchun/index")?>">网春活动视频</a></li>
            <li><a href="<?=base_url("/activity/wangchun/host")?>">祝福语</a></li>
            <li class="layui-this"><a href="<?=base_url("/activity/wangchun/select_person")?>">拜年对象</a></li>
        <?php } ?>

        <?php if($type==1 || empty($type)){ ?>
            <li style="float: right;"><a href="<?=base_url("/activity/wangchun/add_wangchun")?>" class="layui-btn">新增</a></li>
        <?php }else if($type==2){ ?>
            <button type="button" class="layui-btn add_host" style="float: right;">新增</button>
        <?php }else if($type==3){ ?>
            <button type="button" class="layui-btn add_select_person" style="float: right;">新增</button>
        <?php } ?>

    </ul>
</div>